@extends("admin.common.admin")
<title>文章管理</title>
@section("cnt")
    <nav class="breadcrumb">
        <i class="Hui-iconfont">&#xe67f;</i>
        首页
        <span class="c-gray en">&gt;</span>
        文章管理
        <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
            <i class="Hui-iconfont">&#xe68f;</i>
        </a>
    </nav>
    <div class="page-container">
        @include("admin.common.msg")
        <div class="cl pd-5 bg-1 bk-gray mt-20">
        <span class="l">
        </span>
            <span class="r">共有数据：
            <strong></strong> 条
        </span>
        </div>
        <div class="mt-20">
            <table class="table table-border table-bordered table-hover table-bg table-sort">
                <thead>
                <tr class="text-c">
                    <th width="100">姓名</th>
                    <th width="40">性别</th>
                    <th width="40">手机号码</th>
                    <th width="70">邮箱</th>
                    <th width="130">用户创建时间</th>
                    <th width="130">用户状态</th>
                    <th width="100">访问量</th>
                </tr>
                </thead>
                <tbody>
                    @foreach($data as $item)
                    <tr class="text-c">
                        <td>{{ $item->renting->truename }}</td>
                        <td>{{ $item->renting->sec }}</td>
                        <td>{{ $item->renting->phone }}</td>
                        <td>{{ $item->renting->email }}</td>
                        <td>
                        {{ $item->renting->created_at }}
                        </td>
                        <td>
                            @if(!$item->renting->deleted_at)
                                <span class="label label-success">已启用</span>
                            @else
                                <span class="label label-primary">禁用</span>
                            @endif
                        </td>
                        <td class="td-manage">{{ $item->count }}</td>
                    </tr>
                    @endforeach
                </tbody>
            </table>
        </div>
    </div>
@endsection
@section("js")
    <script src="/admin/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
    <script>
      
    </script>
@endsection
